<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="./Object-DAO.js"></script>
    <script>
    
    var LS=new DAO('LS_');
		// 	// 在数据库中创建a变量 然后删除两次 查看结果
		LS.set('B','Panhy',function(){console.log("set =="+arguments),new Date}
		);//[0,"LS_a","xiaoming"]

			LS.get('B',function(){console.log(arguments);}
			);//[0,"xiaoming"]
			LS.OpenindexedDB("TestDB",function(){
				console.log(arguments)
			})
			LS.setIndexDB(function(){
				console.log(arguments);
			});
			// LS.remove('a',function(){console.log('removeOne'+arguments)});//[0,"xiaoming"]
			// LS.remove('a',function(){console.log('removeTwo'+arguments)});//[1,null]
			// LS.get('a',function(){console.log('getTwo'+arguments)});//[1,null]
			
			</script>
</head>
<body>
    
</body>
</html>